<script setup lang="ts">
import BaseWindow from "../../base-window/index.vue";
import { ref } from "vue";
const tables = ref([
  {
    label: "大棚名称",
    value: "xxx大棚",
  },
  {
    label: "大棚面积：",
    value: "xxx㎡",
  },
  {
    label: "种植作物：",
    value: "番茄",
  },
  {
    label: "种植日期：",
    value: "2022-06-06",
  },
  {
    label: "生长阶段：",
    value: "幼苗期",
  },
]);
</script>

<template>
  <BaseWindow title="种植室">
    <div class="row" v-for="item in tables">
      <div class="label">{{ item.label }}</div>
      <div class="value">{{ item.value }}</div>
    </div>
  </BaseWindow>
</template>

<style lang="scss" scoped>
.row {
  background-image: url("../../../assets/images/row-wrapper.png");
  height: 32px;
  display: flex;
  align-items: center;
  margin-top: 10px;
  padding: 0 15px;
  box-sizing: border-box;
  font-size: 20px;
  font-weight: 400;
  .label {
    color: #4ce879;
  }
  .value {
    margin-left: 1em;
  }
}
</style>
